﻿using Microsoft.EntityFrameworkCore.Migrations;
using System;

namespace Hicap.QRCodeWarehouse.Core.Migrations
{
    public partial class _06 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<bool>(
                name: "IsActive",
                table: "GenerationTask",
                nullable: false,
                defaultValue: false);

            migrationBuilder.AddColumn<DateTime>(
                name: "TriggeredTime",
                table: "GenerationTask",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "IsActive",
                table: "GenerationTask");

            migrationBuilder.DropColumn(
                name: "TriggeredTime",
                table: "GenerationTask");
        }
    }
}